package com.test.loader;

import org.dom4j.Document;
import org.dom4j.DocumentException;

import java.io.InputStream;

public interface DocumentLoader {

    /**
     * 从输入流加载XNL文档
     * @param inputStream
     * @return
     */
    Document loadDocument(InputStream inputStream) throws DocumentException;
}
